

db_username = '13088888888'
db_password = '123456'
db_verify_code = '8888'

flag = True

while flag:

    vls = input("请输入操作功能:")

    if vls == '1':
        username = input("请输入用户名:")
        password = input("请输入密码:")
        verify_code = input("请输入验证码:")

        if db_username == username and db_password == password and db_verify_code == verify_code:
            print("登录成功,进入首页")
            print("按q进行退出")
        elif (db_username != username or db_password != password) and db_verify_code == verify_code:
            print("用户名或密码不相等!")
        else:
            print("验证码不相等")

    elif vls in ['q','quit']:
        flag = False
    else:
        print("功能未完善，敬请期待")